package com.mtjx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.mtjx.entitys.entitys.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 33117
 * @version 1.0
 * @data 2025/8/20 9:11
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 获取授权
     *
     * @param username
     * @return 授权信息
     */
    List<String> queryAuthorization(@Param("username") String username);

    User selectUser(@Param("username") String username, @Param("password") String password);
}
